/**
 * 
 */
package design_pattern.memento.whiteboxcheckpoints;

import java.util.Vector;

/**
 * @author linzq
 * 
 */
public class Memento {

  private Vector states;

  private int index;

  public Memento(Vector states, int index) {
    this.states = states;
    this.index = index;
  }

  /**
   * @return
   */
  public int getIndex() {
    return index;
  }

  /**
   * @return
   */
  public Vector getStates() {
    return states;
  }

}
